package com.heideng.day003;

/**
 * @author lijh
 * @date 2021/8/31 4:12 下午
 */
public class Demo02 {

    public static void main(String[] args) {
//        String heideng = "hiedeng";
//        int j = 20;
//        double d = 66.66;
//        boolean b = false;
        Demo02 demo02 = new Demo02();
        demo02.a();
        demo02.b();
    }

    public int calculation() {
        int a = 1;
        int b = 2;
        int c = (a + b) * 10;
        return c;
    }

    public void a() {
        int i = 0;
        int j = i++;
        System.out.println(j);
    }

    public void b() {
        int i = 0;
        int j = ++i;
        System.out.println(j);
    }

}
